package cn.shyouchi.wuguanjia.android.ui.attendance.signin;

import com.amap.api.maps.model.LatLng;

/**
 * Created by Eenie on 2016/12/14 at 17:33
 * Email: 472279981@qq.com
 * Des:
 */

public class AttendanceInfoEntity {


    /**
     * resultCode : 0
     * resultMessage : {"address":"怡丰城","attendance":"26","attendancescope":"25","longitude":"122.532448","latitude":"40.620916","area":"上海"}
     */

    private int resultCode;
    private ResultMessageBean resultMessage;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public ResultMessageBean getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(ResultMessageBean resultMessage) {
        this.resultMessage = resultMessage;
    }

    public static class ResultMessageBean {
        /**
         * address : 怡丰城
         * attendance : 26
         * attendancescope : 25
         * longitude : 122.532448
         * latitude : 40.620916
         * area : 上海
         */

        private String address;
        private String attendance;
        private double attendancescope;
        private double longitude;
        private double latitude;
        private String area;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAttendance() {
            return attendance;
        }

        public void setAttendance(String attendance) {
            this.attendance = attendance;
        }

        public double getAttendancescope() {
            return attendancescope;
        }

        public void setAttendancescope(double attendancescope) {
            this.attendancescope = attendancescope;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }


        public LatLng getLatLng() {
            return new LatLng(latitude,longitude);
        }


    }
}
